import { request } from '@/utils/request'

/**
 * 获取商品详情
 * @param id
 * @returns {Promise<axios.AxiosResponse<any>>}
 */
export const getGoods = (id) => {
    return request('/goods','GET', { id })
}